<template>
  <el-form-item :label="$t('designer.setting.prefixIcon')">
	  <sc-icon-select v-model="thisOptionModel.prefixIcon"></sc-icon-select>
  </el-form-item>
</template>

<script>

  import scIconSelect from "@/components/scIconSelect/index";

  export default {
    name: "prefixIcon-editor",
	  components: {scIconSelect},
    mixins: [],
    props: {
      designer: Object,
      selectedWidget: Object,
      optionModel: Object,
    },
	  data(){
		  return {
			  thisOptionModel:this.optionModel
		  }
	  },
	  watch: {
		  'optionModel': {
			  handler(val) {
				  if (val) {
					  this.thisOptionModel = val
				  }
			  }
		  },
	  },
  }
</script>

<style scoped>

</style>
